package com.security.door.service.Impl;

import com.security.door.core.base.BaseService;
import com.security.door.dao.mapper.devDeviceparamMapper;
import com.security.door.model.domain.devDeviceparam;
import com.security.door.service.IdevDeviceparamService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public class devDeviceparamServiceImpl extends BaseService<devDeviceparam> implements IdevDeviceparamService {
    @Autowired
    devDeviceparamMapper idevDeviceparamMapper;

    public Integer deleteByDeviceCode(String deviceCode,String activecode) {
        return idevDeviceparamMapper.deleteByDeviceCode(deviceCode,activecode);
    }

    public List<devDeviceparam> selectByDeviceCode(String deviceCode, String activecode){
        return idevDeviceparamMapper.selectByDeviceCode(deviceCode,activecode);
    }
}
